package org.shock.ss.sms.bean.system;

import java.io.Serializable;

public class User implements Serializable {
	private static final long serialVersionUID = -1L;
	private static final String table = "ckgl_user";// 数据库表名";
	private Long id;// 员工id
	private String czsj;// 操作时间
	private Integer czy;// 操作人（关联用户表的用户编号）
	private String bz1;// 备注1
	private String bz2;// 备注2
	private Integer delflag;// 删除标志位
	private String ygzh;// 员工账号
	private String ygxm;// 员工姓名
	private Long bmid;// 所属部门id
	private String ygzw;// 员工职务
	private String ygmm;// 员工密码
	private Long ygzt;// 员工状态
	private Integer isadmin;// 是否管理员
	private String sfz;// 员工身份证
	private String tel;// 固定电话
	private String mobile;// 手机号码
	private String ygip;// 员工ip
	private Integer paixu;// 员工排序
	private String roleids;// 关联角色id

	/**
	 * @return the bz1
	 */
	public String getBz1() {
		return bz1;
	}

	/**
	 * @param bz1
	 *            the bz1 to set
	 */
	public void setBz1(String bz1) {
		this.bz1 = bz1;
	}

	/**
	 * @return the bz2
	 */
	public String getBz2() {
		return bz2;
	}

	/**
	 * @param bz2
	 *            the bz2 to set
	 */
	public void setBz2(String bz2) {
		this.bz2 = bz2;
	}

	/**
	 * @return the delflag
	 */
	public Integer getDelflag() {
		return delflag;
	}

	/**
	 * @param delflag
	 *            the delflag to set
	 */
	public void setDelflag(Integer delflag) {
		this.delflag = delflag;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((ygzh == null) ? 0 : ygzh.hashCode());
		return result;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final User other = (User) obj;
		if (ygzh == null) {
			if (other.ygzh != null)
				return false;
		} else if (!ygzh.equals(other.ygzh))
			return false;
		return true;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getYgzh() {
		return ygzh;
	}

	public void setYgzh(String ygzh) {
		this.ygzh = ygzh;
	}

	public String getYgxm() {
		return ygxm;
	}

	public void setYgxm(String ygxm) {
		this.ygxm = ygxm;
	}

	public Long getBmid() {
		return bmid;
	}

	public void setBmid(Long bmid) {
		this.bmid = bmid;
	}

	public String getYgzw() {
		return ygzw;
	}

	public void setYgzw(String ygzw) {
		this.ygzw = ygzw;
	}

	public String getYgmm() {
		return ygmm;
	}

	public void setYgmm(String ygmm) {
		this.ygmm = ygmm;
	}

	public Long getYgzt() {
		return ygzt;
	}

	public void setYgzt(Long ygzt) {
		this.ygzt = ygzt;
	}

	public Integer getIsadmin() {
		return isadmin;
	}

	public void setIsadmin(Integer isadmin) {
		this.isadmin = isadmin;
	}

	public String getSfz() {
		return sfz;
	}

	public void setSfz(String sfz) {
		this.sfz = sfz;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getYgip() {
		return ygip;
	}

	public void setYgip(String ygip) {
		this.ygip = ygip;
	}

	public Integer getPaixu() {
		return paixu;
	}

	public void setPaixu(Integer paixu) {
		this.paixu = paixu;
	}

	public String getRoleids() {
		return roleids;
	}

	public void setRoleids(String roleids) {
		this.roleids = roleids;
	}

	public static String getTable() {
		return table;
	}

}